import request from "../util/request.ts";
import type { Investors } from "./type/model.ts"

export const fetchContractsList = async (): Promise<any> => {
    return await request.get(`/contracts`);
}

export const postContracts = async (investors: Investors): Promise<any> => await request.post("/contracts", investors)
